MGS3001 Python Programming for Business, Spring 2025
Wed, 26 February 2025
In this chapter, the student learns about relational operators and Boolean expressions and is shown how to control the flow of a program with decision structures. The if, if-else, and if-elif-else statements are covered. Nested decision structures and logical operators are discussed as well. The chapter also includes an optional turtle graphics section, with a discussion of how to use decision structures to test the state of the turtle.
© 2025 Chad (Chungil Chae). All rights reserved.